Repository navigation
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## feat/zcash-e2e #1565 +/- ##
==================================================
+ Coverage 21.80% 22.12% +0.31%
==================================================
Files 1157 1157
Lines 116360 116430 +70
==================================================
+ Hits 25374 25755 +381
+ Misses 90986 90675 -311 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
configure_stack_wallet.sh, the README line, and the wallet creation matrix entry.init(isRestore: false)). If the node does not answer, the half-made wallet is deleted and the error says what to check.Stacked on #1564, which is stacked on #1563.
Commits
style: dart format restore_options_view.dartis formatter output only. That file was last changed before the SDK constraint moved to 3.13, so CI's format check fails on any change to it. Runningdart formaton the staging version reproduces this commit.feat: integrate Zcash with the wallet UIis the change.Size
The feature commit is 18 files, +370/-44. About 150 lines are in existing views and helpers (70 of them the restore options view, where a coin condition that was repeated six times becomes two locals), 28 in Stack Backup restore, 43 in the node test and the session helper it calls, and 168 in tests.
Themes
This PR does not touch the default themes. A coin a theme does not know gets the placeholder icon and the default colour, which staging's theme code already does. The Zcash art is in the theme server's
mainand infeat/zcash-themes(#1567), which can land before or after this.Known limits
https://hostwith the switch off fails the test.Not changed here
configure_stack_wallet.sh, the creation matrix and its counts inwallet_creation_runner_test.dart, and both add a case to the Stack Backup restore. Whichever lands second has a small conflict there.zec.rocks:443andtestnet.zec.rocks:443(set in Add Zcash wallet core integration #1563). They are a product decision that can change without code review of this stack.Verification
At this PR's head (
caed3d64d):flutter analyzeon the changed Dart files: no errors.scripts/teststhat CI runs, run as CI runs them: pass.wallet_creation_runner_test.dartcovers the new matrix counts.dart scripts/test_wallet_creation.dart --device linux --coin zcash), which drives the built app through creating and reopening a wallet against the default node: 2/2, run at the top of the stack (Download the Sapling parameters for Zcash sends #1566).flutter testsuite, at the top of the stack (Download the Sapling parameters for Zcash sends #1566): 1570 passed, 8 skipped, and three of the Firo cache tests named in Add Zcash wallet core integration #1563, which time out in full runs on this machine and pass on their own (17/17)."Send all" has no widget test: the send views have no test harness on staging. Its amount comes from the wallet's fee estimate, which the end-to-end test compares with the fee of a prepared send.